﻿// -----------------------------------------------------------------------
// <copyright file=PhieuChanDoanHinhAnhBusiness company="">
// TODO: dangppsoft@gmail.com
// </copyright>
// -----------------------------------------------------------------------
namespace ManagerClinic.Core.Business
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using ManagerClinic.Core.Common;
    using ManagerClinic.Core.DataAccess;

    public class PhieuChanDoanHinhAnhBusiness
    {
        PhieuChanDoanHinhAnhDataAccess objDa = null;

        public PhieuChanDoanHinhAnhBusiness()
        {
            objDa = new PhieuChanDoanHinhAnhDataAccess();
        }

        public bool InsertPhieuChanDoanHinhAnh(PhieuChanDoanHinhAnhEntity obj)
        {
            return objDa.InsertPhieuChanDoanHinhAnh(obj);
        }

        public bool EditPhieuChanDoanHinhAnh(PhieuChanDoanHinhAnhEntity obj)
        {
            return objDa.EditPhieuChanDoanHinhAnh(obj);
        }

        public bool DeletePhieuChanDoanHinhAnh(string maChanDoanHinhAnh)
        {
            return objDa.DeletePhieuChanDoanHinhAnh(maChanDoanHinhAnh);
        }

        public PhieuChanDoanHinhAnhEntity GetPhieuChanDoanHinhAnh(string maChanDoanHinhAnh)
        {
            return objDa.GetPhieuChanDoanHinhAnh(maChanDoanHinhAnh);
        }

        public IList<PhieuChanDoanHinhAnhEntity> GetPhieuChanDoanHinhAnhByNgayList(Int32 trangThaiPhieu)
        {
            return objDa.GetPhieuChanDoanHinhAnhByNgayList(trangThaiPhieu);
        }
    }
}